home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / c / LEDA_GUI.lha / files.lha / src / amiga / Makefile < prev    next >
Encoding:
Makefile  |  1995-01-29  |  609 b   |  24 lines

  1.  
  2. L = libWx
  3.  
  4. really_all: impl_x_basic.h impl_x_window.h all
  5.  
  6. include ../Make.src
  7.  
  8. TEMPFILE = LEDA_AMI_INST_TMP
  9.  
  10. impl_x_basic.h : ../../incl/LEDA/impl/x_basic.h
  11.     cp ../../incl/LEDA/impl/x_basic.h $(TEMPFILE)1
  12.     sed -e 's/Window/LWindow/g' $(TEMPFILE)1 >$(TEMPFILE)2
  13.     sed -e 's/.LEDA.impl.x_window\.h./"impl_x_window\.h"/g' $(TEMPFILE)2 >impl_x_basic.h
  14.     rm $(TEMPFILE)1 $(TEMPFILE)2
  15.  
  16. impl_x_window.h : ../../incl/LEDA/impl/x_window.h
  17.     cp ../../incl/LEDA/impl/x_window.h $(TEMPFILE)1
  18.     sed -e 's/Window/LWindow/g' $(TEMPFILE)1 >impl_x_window.h
  19.     rm $(TEMPFILE)1
  20.  
  21. cleanall:
  22.     rm impl_x_basic.h impl_x_window.h
  23.     rm *.o
  24.